package com.lagouedu.controller;

import com.lagouedu.service.DubboService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @Reference
    private DubboService dubboService;

    @RequestMapping("/getMsg")
    public String getMsg(String param){

        return dubboService.getMsg(param);
    }
}
